<?php
	ini_set('display_errors', '0');
	include("connect.php");
		if($_POST)
		{
			if(mysql_query("INSERT INTO information(bname,cname,ssr,sst,remarks,status)values('$_POST[bname]','$_POST[cname]','$_POST[rajahmundry]','$_POST[tirupathi]','$_POST[remarks]','1')"))
			 	$res=mysql_insert_id();
				if($res){
					echo $res;
				}
				else{
					echo "error";
				}
			
				
			
		}
?>
 